package com.fbs.wowo.exception;

import static com.fbs.wowo.exception.ErrorCode.ERR_NULL_DATA;

public class DatabaseException extends BaseException {

    public DatabaseException() {
        super(ERR_NULL_DATA);
    }

    public DatabaseException(ErrorCode error) {
        super(error);
    }

    public DatabaseException(String msg) {
        super(msg, ERR_NULL_DATA.getStatus());
    }

}
